# How to run Firefox as portable app on Linux

```
mkdir -p bin/Firefox/data
cd bin/Firefox
```

Extract & put Firefox (linux) in ~/bin/Firefox/firefox
https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US

```
cat <<EOF | tee run.sh
#!/bin/bash
"\$PWD/firefox/firefox" --no-remote --profile "\$PWD/data"
EOF
chmod +x run.sh
```

Then from now on, double click `run.sh` if you have it configured on your file manager, or cd to `~/bin/Firefox` and run this:

```
./run.sh
```
